package com.ruoyi.wx.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合租人对象 shared_tenant
 * 
 * @author wt
 * @date 2020-12-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("shared_tenant")
public class SharedTenant implements Serializable {

private static final long serialVersionUID=1L;


    /** 合租人id */
    @TableId(value = "id")
    @TableField(value = "`id`")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @TableField(value = "`name`")
    private String name;

    /** 备注 */
    @Excel(name = "备注")
    @TableField(value = "`memo`")
    private String memo;

    /** 创建时间 */
    @TableField(value = "`create_time`")
    private Date createTime;

    /** 更新时间 */
    @TableField(value = "`update_time`")
    private Date updateTime;

    /** 当月的结算金额 */
    @Excel(name = "当月的结算金额")
    @TableField(value = "`settlement_of_the_month`")
    private BigDecimal settlementOfTheMonth;

    /** 分红比例(总数是10) */
    @Excel(name = "分红比例(总数是10)")
    @TableField(value = "`dividend_ratio`")
    private BigDecimal dividendRatio;

    /** 状态1启用0禁用 */
    @Excel(name = "状态1启用0禁用")
    @TableField(value = "`STATE`")
    private Long state;

    /** 1是未分红,2是已分红 */
    @Excel(name = "1是未分红,2是已分红")
    @TableField(value = "`dividend_status`")
    private Long dividendStatus;
}
